import React,{Component} from 'react'
import { HelloWord } from './HelloWord';
export class Navbar extends Component {
  render() {
    const { children } = this.props;
    
    return (
      <div>
      <div className='navbars'>
           <div className='left'>
            {children[0]}
            </div>
           <div className="content">
            {children[1]}
            </div>
           <div className='right'>
            {children[2]}
          </div>
      </div>
          <HelloWord />
      </div>
    )
  }
}

export default Navbar